package com.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName view_clazz_student
 */
@TableName(value ="view_clazz_student")
@Data
public class ClazzStudentView implements Serializable {
    /**
     * 主键
     */
    @TableField(value = "id")
    private Long id;

    /**
     * 学号
     */
    @TableField(value = "account")
    private String account;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 身份证号码
     */
    @TableField(value = "identity")
    private String identity;

    /**
     * 用户性别（1男，0女，2未知）
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 寝室
     */
    @TableField(value = "bedroom")
    private String bedroom;

    /**
     * 辅导员
     */
    @TableField(value = "teacher")
    private String teacher;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 手机号
     */
    @TableField(value = "tel")
    private String tel;

    /**
     * 父母名
     */
    @TableField(value = "parents_name")
    private String parents_name;

    /**
     * 父母电话
     */
    @TableField(value = "parents_tel")
    private String parents_tel;

    /**
     * 头像
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 是否删除
     */
    @TableField(value = "del_flag")
    private Integer del_flag;

    /**
     * 班级id
     */
    @TableField(value = "class_id")
    private Long classId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}